package com.kim.authorization.server.mapper;

import com.kim.oauth.common.model.UserBinding;
import org.springframework.stereotype.Repository;

/**
 * 用户绑定Mapper
 */
@Repository
public interface UserBindingMapper {

    /**
     * 获取绑定微信的用户ID
     *
     * @param unionId 微信ID
     * @return org.surge.oauth2common.model.UserBinding
     */
    UserBinding selectWeChatUnionId(String unionId);
}